<!DOCTYPE html>
<!-- saved from url=(0029)https://pagehelper.github.io/ -->
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="generator" content="Hugo 0.21">
  
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title> MyBatis 分页插件 PageHelper </title>

  
  <meta name="description" content="如果你也在用 MyBatis，建议尝试该分页插件，这一定是最方便使用的分页插件。分页插件支持任何复杂的单表、多表分页。"> 
  
  
  
  
  

    

  <meta name="author" content="liuzh">


  <meta property="og:title" content="MyBatis 分页插件 PageHelper">
<meta property="og:description" content="如果你也在用 MyBatis，建议尝试该分页插件，这一定是最方便使用的分页插件。分页插件支持任何复杂的单表、多表分页。">
<meta property="og:type" content="website">
<meta property="og:url" content="https://pagehelper.github.io/">



<meta property="og:updated_time" content="2017-06-03T17:45:41+08:00">










  




  
   



 
  
  
  
  <link href="https://pagehelper.github.io/index.xml" rel="alternate" type="application/rss+xml" title="MyBatis 分页插件 PageHelper"> 

  <link rel="canonical" href="https://pagehelper.github.io/">  
  <link href="./MyBatis 分页插件 PageHelper_files/font.css" rel="stylesheet" type="text/css">
  <link href="./MyBatis 分页插件 PageHelper_files/kube.min.css" rel="stylesheet" type="text/css">
  <link href="./MyBatis 分页插件 PageHelper_files/kube.legenda.css" rel="stylesheet" type="text/css">
  <link href="./MyBatis 分页插件 PageHelper_files/highlight.css" rel="stylesheet" type="text/css">
  <link href="./MyBatis 分页插件 PageHelper_files/master.css" rel="stylesheet" type="text/css">
  <link href="./MyBatis 分页插件 PageHelper_files/kube.demo.css" rel="stylesheet" type="text/css">

 <link href="./MyBatis 分页插件 PageHelper_files/custom.css" rel="stylesheet" type="text/css">

  <script src="./MyBatis 分页插件 PageHelper_files/hm.js.下载"></script><script src="./MyBatis 分页插件 PageHelper_files/jquery-2.1.4.min.js.下载" type="text/javascript">
  </script>

  <script type="text/javascript" src="./MyBatis 分页插件 PageHelper_files/tocbot.min.js.下载"></script>
  <script>
  var _hmt = _hmt || [];
  (function() {
    var hm = document.createElement("script");
    hm.src = "https://hm.baidu.com/hm.js?6b5b415b45628a07c8b7f7c3c5843cb2";
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(hm, s);
  })();
  </script>

</head>


<body class="page-kube">
  <header> <div class="show-sm">
    <div id="nav-toggle-box">
      <div id="nav-toggle-brand">
        <a href="https://pagehelper.github.io/">PageHelper</a>
      </div><a data-component="toggleme" data-target="#top" href="https://pagehelper.github.io/#" id="nav-toggle" data-loaded="true"><i class="kube-menu"></i></a>
    </div>
  </div>
  <div class="hide-sm" id="top">
    <div id="top-brand">
      <a href="https://pagehelper.github.io/" title="home">PageHelper</a>
    </div>
    <nav id="top-nav-main">
      <ul>
       
       
    <li><a href="https://pagehelper.github.io/docs/">文档</a></li>
    
    <li><a href="https://pagehelper.github.io/blog/">更新日志</a></li>
    
    <li><a href="https://pagehelper.github.io/faq/">常见问题</a></li>
    
      </ul>
    </nav>
  </div>
 </header>
  <main>

<div id="main">
  <div id="hero">
    <h1>MyBatis 分页插件 PageHelper</h1>
    <p>如果你也在用 MyBatis，建议尝试该分页插件，这一定是最方便使用的分页插件。分页插件支持任何复杂的单表、多表分页。</p>
  </div>
  <div id="action-buttons">
    <a class="button outline big" href="https://github.com/pagehelper/Mybatis-PageHelper" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;pagehelper&#39;, &#39;github&#39;, &#39;1.0.0&#39;]);">View on Github</a>
    <a class="button outline big" href="http://git.oschina.net/free/Mybatis_PageHelper" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;pagehelper&#39;, &#39;gitosc&#39;, &#39;1.0&#39;]);">View on GitOsc</a>
    <p>
        <a href="https://maven-badges.herokuapp.com/maven-central/com.github.pagehelper/pagehelper">
            <img src="./MyBatis 分页插件 PageHelper_files/badge.svg" alt="Maven central">
        </a>
    </p>
  </div>
  <div id="kube-features">
    <div class="row gutters">
      <div class="col col-4 item">
        <figure>
          <img alt="Baseline" height="48" src="./MyBatis 分页插件 PageHelper_files/icon-baseline.png" width="48">
        </figure>
        <h3>物理分页</h3>
        <p>支持常见的 12 种数据库。Oracle,MySql,MariaDB,SQLite,DB2,<br>PostgreSQL,SqlServer 等</p>
      </div>
      <div class="col col-4 item">
        <figure>
          <img alt="Minimalism" height="48" src="./MyBatis 分页插件 PageHelper_files/icon-minimalism.png" width="48">
        </figure>
        <h3>支持多种分页方式</h3>
        <p>支持常见的RowBounds(PageRowBounds)，<br>PageHelper.startPage 方法调用，<br>Mapper 接口参数调用</p>
      </div>
      <div class="col col-4 item">
        <figure>
          <img alt="Typography" height="48" src="./MyBatis 分页插件 PageHelper_files/icon-typo.png" width="48">
        </figure>
        <h3><a href="https://pagehelper.github.io/docs/interceptor/" style="text-decoration:none;">QueryInterceptor 规范</a></h3>
        <p>使用 QueryInterceptor 规范，<br>开发插件更轻松。</p>
      </div>
    </div>
  </div>
</div>

</main>
  <footer>   <footer id="footer">
    <nav>
      <ul>
        <li><span>PageHelper</span></li>
          <li>
          <a href="https://pagehelper.github.io/docs/">文档</a>
        </li>
        <li>
          <a href="https://pagehelper.github.io/blog/">更新日志</a>
        </li>
        <li>
          <a href="https://pagehelper.github.io/faq/">常见问题</a>
        </li>
      </ul>
    </nav>
  </footer> </footer>


  <script src="./MyBatis 分页插件 PageHelper_files/kube.js.下载" type="text/javascript">
  </script>
  <script src="./MyBatis 分页插件 PageHelper_files/kube.legenda.js.下载" type="text/javascript">
  </script>
  <script src="./MyBatis 分页插件 PageHelper_files/master.js.下载" type="text/javascript">
  </script>



</body></html>